package com.axxy.factory;

import com.axxy.factory.entity.Keyboard;
import com.axxy.factory.entity.LenovoKeyboard;
import com.axxy.factory.entity.LenovoMouse;
import com.axxy.factory.entity.Mouse;

/**
 * @author 一缕茜阳
 * @date 2021/7/28
 */
public class LenovoFactory extends ChinaDigitFactory{

    @Override
    Mouse createMouse() {
        return new LenovoMouse();
    }

    @Override
    Keyboard createKeyboard() {
        return new LenovoKeyboard();
    }

    @Override
    void packageKyeboard(Keyboard keyboard) {
        System.out.println("附送Lenovo鼠标垫");
    }
}
